# http://matplotlib.sourceforge.net/

from pylab import *

def fnLineLenDemo(sf):
 xt=[]
 for x in open(sf):
  xt.append(len(x))
 
 y=hist(xt, 40121)
 print len(xt)
 show()

fnLineLenDemo(sf=r"d:\zhand\pim9\00txtGrep\gbk.kjv.bible.china.txt") 



